package com.ruicar.afs.cloud.account.common.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruicar.afs.cloud.account.common.dto.VoucherTemplateEventsDto;
import com.ruicar.afs.cloud.account.common.entity.VoucherTemplateEvents;
import com.ruicar.afs.cloud.account.vo.VoucherAtomVo;
import com.ruicar.afs.cloud.common.core.query.QueryCondition;
import com.ruicar.afs.cloud.common.core.util.IResponse;

/**
 * @author infinity
 * @version 1.0
 * @date 2020/7/4 18:36
 */
public interface VoucherTemplateEventsService extends IService<VoucherTemplateEvents> {

    Boolean addVoucherEvents(VoucherTemplateEventsDto voucherTemplateEvents);

    Boolean delVoucherEvents(Long id);

    Boolean modifyVoucherEvents(VoucherTemplateEventsDto voucherTemplateEvents);

    Boolean active(Long id);

    Boolean invalidity(Long id);

    IResponse queryVoucherEventsList(QueryCondition<VoucherTemplateEventsDto> queryCondition);

}
